WPPayForm\App\Models\Form D

Total Complexity 168
Dependencies 11
Dependents 29
Total lines 1,068
Lines of code 866
Logical lines of code 423
Comment lines 15
Methods 44
Properties 1

Methods 44

Method Rating Maintainability Complexity Lines of code
getEditorShortCodes()
B
35 17 80
sanitizeFieldMaps()
A
45 12 39
getInputShortcode()
A
43 8 55
getBuilderSettings()
A
42 8 53
getStatus()
A
38 6 77
saveForm()
A
46 8 40
getForms()
A
44 8 40
getFormInputLabels()
A
49 8 31
getReceiptSettings()
A
51 8 26
getFormattedElements()
A
47 7 36
saveSettings()
S
52 6 24
getCurrencyAndLocale()
S
54 5 21
getCurrencySettings()
S
60 4 13
storeData()
S
53 3 22
updateForm()
S
54 3 20
getSchedulingSettings()
S
48 2 34
sanitizationRules()
S
58 3 16
getButtonSettings()
S
57 3 16
recaptchaType()
S
61 3 12
hasPaymentFields()
S
62 3 11
index()
S
55 2 18
getDesignSettings()
S
58 2 16
migrate()
S
68 3 7
getFormInfo()
S
63 3 9
getForm()
S
64 3 9
hasTheFields()
S
65 3 9
getDonationOptions()
S
64 3 9
getLabel()
S
64 3 10
getInputLabels()
S
63 3 10
getConfirmationSettings()
S
59 2 14
deleteForm()
S
58 1 18
deleteForms()
S
74 2 5
turnstileStatus()
S
68 2 7
getFormIds()
S
64 1 11
getAllForms()
S
68 1 7
getFormStatus()
S
76 1 4
insertTemplateForm()
S
78 1 3
getTotalCount()
S
79 1 3
getAllAvailableForms()
S
71 1 6
store()
S
70 1 6
getAllPages()
S
71 1 6
getAllPosts()
S
70 1 6
getPaymentMethodElements()
S
75 1 4
hasRecurring()
S
78 1 3